<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<style>
    h1{
        border: solid 1px green;
        color: blue;
    }
    P{
        color: red;
    }
    #d{
        text-decoration: underline;
        font-size: 2em;
    }
    
    

</style>
    
<body>
        <h1>我的生活</h1>
        <h2><p id="d">这是<span>正文</span></p></h2>
        <p>第一段正文</p>
        <p>第二段正文</p>
    

    
</body>
</html>